home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / strtrs.z / strtrs
Encoding:
Text File  |  2002-10-03  |  4.3 KB  |  133 lines

  1.  
  2.  
  3.  
  4. SSSSTTTTRRRRTTTTRRRRSSSS((((3333SSSS))))                                                          SSSSTTTTRRRRTTTTRRRRSSSS((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      STRTRS - solve a triangular system of the form  A * X = B or A**T * X =
  10.      B,
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      SUBROUTINE STRTRS( UPLO, TRANS, DIAG, N, NRHS, A, LDA, B, LDB, INFO )
  14.  
  15.          CHARACTER      DIAG, TRANS, UPLO
  16.  
  17.          INTEGER        INFO, LDA, LDB, N, NRHS
  18.  
  19.          REAL           A( LDA, * ), B( LDB, * )
  20.  
  21. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  22.      These routines are part of the SCSL Scientific Library and can be loaded
  23.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  24.      directs the linker to use the multi-processor version of the library.
  25.  
  26.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  27.      4 bytes (32 bits). Another version of SCSL is available in which integers
  28.      are 8 bytes (64 bits).  This version allows the user access to larger
  29.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  30.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  31.      only one of the two versions; 4-byte integer and 8-byte integer library
  32.      calls cannot be mixed.
  33.  
  34. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  35.      STRTRS solves a triangular system of the form A * X = B or A**T * X = B,
  36.      where A is a triangular matrix of order N, and B is an N-by-NRHS matrix.
  37.      A check is made to verify that A is nonsingular.
  38.  
  39.  
  40. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  41.      UPLO    (input) CHARACTER*1
  42.              = 'U':  A is upper triangular;
  43.              = 'L':  A is lower triangular.
  44.  
  45.      TRANS   (input) CHARACTER*1
  46.              Specifies the form of the system of equations:
  47.              = 'N':  A * X = B  (No transpose)
  48.              = 'T':  A**T * X = B  (Transpose)
  49.              = 'C':  A**H * X = B  (Conjugate transpose = Transpose)
  50.  
  51.      DIAG    (input) CHARACTER*1
  52.              = 'N':  A is non-unit triangular;
  53.              = 'U':  A is unit triangular.
  54.  
  55.      N       (input) INTEGER
  56.              The order of the matrix A.  N >= 0.
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. SSSSTTTTRRRRTTTTRRRRSSSS((((3333SSSS))))                                                          SSSSTTTTRRRRTTTTRRRRSSSS((((3333SSSS))))
  71.  
  72.  
  73.  
  74.      NRHS    (input) INTEGER
  75.              The number of right hand sides, i.e., the number of columns of
  76.              the matrix B.  NRHS >= 0.
  77.  
  78.      A       (input) REAL array, dimension (LDA,N)
  79.              The triangular matrix A.  If UPLO = 'U', the leading N-by-N upper
  80.              triangular part of the array A contains the upper triangular
  81.              matrix, and the strictly lower triangular part of A is not
  82.              referenced.  If UPLO = 'L', the leading N-by-N lower triangular
  83.              part of the array A contains the lower triangular matrix, and the
  84.              strictly upper triangular part of A is not referenced.  If DIAG =
  85.              'U', the diagonal elements of A are also not referenced and are
  86.              assumed to be 1.
  87.  
  88.      LDA     (input) INTEGER
  89.              The leading dimension of the array A.  LDA >= max(1,N).
  90.  
  91.      B       (input/output) REAL array, dimension (LDB,NRHS)
  92.              On entry, the right hand side matrix B.  On exit, if INFO = 0,
  93.              the solution matrix X.
  94.  
  95.      LDB     (input) INTEGER
  96.              The leading dimension of the array B.  LDB >= max(1,N).
  97.  
  98.      INFO    (output) INTEGER
  99.              = 0:  successful exit
  100.              < 0: if INFO = -i, the i-th argument had an illegal value
  101.              > 0: if INFO = i, the i-th diagonal element of A is zero,
  102.              indicating that the matrix is singular and the solutions X have
  103.              not been computed.
  104.  
  105. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  106.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  107.  
  108.      This man page is available only online.
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.